var __extends =
    (this && this.__extends) ||
    (function () {
      var t = function (n, e) {
        return (t =
          Object.setPrototypeOf ||
          ({ __proto__: [] } instanceof Array &&
            function (t, n) {
              t.__proto__ = n;
            }) ||
          function (t, n) {
            for (var e in n)
              Object.prototype.hasOwnProperty.call(n, e) && (t[e] = n[e]);
          })(n, e);
      };
      return function (n, e) {
        function s() {
          this.constructor = n;
        }
        if ("function" != typeof e && null !== e)
          throw new TypeError(
            "Class extends value " + String(e) + " is not a constructor or null"
          );
        t(n, e),
          (n.prototype =
            null === e
              ? Object.create(e)
              : ((s.prototype = e.prototype), new s()));
      };
    })(),
  TraninDescribleDialog = (function (t) {
    function n() {
      var n = t.call(this) || this;
      return (
        (n.textfield = null),
        n.button_train_desc_cancle.on(
          Laya.Event.CLICK,
          n,
          n.onDescrDidClickClosedFn
        ),
        n
      );
    }
    return (
      __extends(n, t),
      (n.showTraDescr = function () {
        null == this.traDescrVC &&
          ((this.traDescrVC = new n()), (this.traDescrVC.zOrder = 1e3)),
          this.traDescrVC.popup(!0),
          this.traDescrVC.setupXunLianXiangQingUI();
      }),
      (n.prototype.setupXunLianXiangQingUI = function () {
        null == this.textfield &&
          ((this.textfield = new Laya.HTMLDivElement()),
          (this.textfield.width = 260),
          this.textfield.pos(25, 60),
          (this.textfield.style.leading = 6),
          this.addChild(this.textfield));
        this.textfield.innerHTML =
          "<span style='color:#7f3f00; font-size:14px; '> 每次训练可设定1-10小时之间</span><br/><br/><span style='color:#7f3f00; font-size:14px; '> 15-40级玩家,每小时训练需要60金砖,获得100次标准经验值</span><br/><span style='color:#7f3f00; font-size:14px; '> 41-70级玩家,每小时训练需要80金砖,获得150次标准经验值</span><br/><span style='color:#7f3f00; font-size:14px; '> 71-99级玩家,每小时训练需要100金砖,获得200次标准经验值</span><br/><span style='color:#7f3f00; font-size:14px; '> 100-119级玩家,每小时训练需要120金砖,获得300次标准经验值</span><br/><span style='color:#7f3f00; font-size:14px; '> 120-139级玩家,每小时训练需要140金砖,获得450次标准经验值</span><br/><br/><span style='color:#7f3f00; font-size:14px; '> 120-139级玩家,每小时训练需要140金砖,获得450次标准经验值</span><br/><span style='color:#7f3f00; font-size:14px; '> 每次军训多1小时,可增加2%的经验值\n每次军训多1小时,需要消耗20点体力值</span><br/>";
      }),
      (n.prototype.onDescrDidClickClosedFn = function () {
        this.close();
      }),
      (n.close = function () {
        this.traDescrVC && (this.traDescrVC = null);
      }),
      n
    );
  })(ui.SubSquareController.TraninDescribleDialogUI);
